STEP 2: Let's change some things about our circle!

Look at the code and notice the grey text above the circle. This comment tells us what each parameter in the circle code controls: (x, y, diameter, "color").

  • Comments are grey and have a # in front of them. The comment is only for you to read. The program ignores it.
  • Find the x-coordinate of the circle and change it to -150.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# sprite = codesters.Circle(x, y, diameter, "color") sprite = codesters.Circle(0, 0, 100, "blue")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)